package cn.iocoder.yudao.module.biz.controller.admin.contract.autocode.result.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 编码生成记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AutoCodeResultRespVO {

    @Schema(description = "记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8815")
    @ExcelProperty("记录ID")
    private Long codeId;

    @Schema(description = "规则ID", example = "14451")
    @ExcelProperty("规则ID")
    private Long partId;

    @Schema(description = "最后产生的序号")
    @ExcelProperty("最后产生的序号")
    private Integer genIndex;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    @ExcelProperty("删除标志（0代表存在 2代表删除）")
    private String deleted;

    @Schema(description = "创建部门")
    @ExcelProperty("创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

}